.bamboo-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 4rem;
  right: 0px;
  line-height: 4rem;
  background-color: $orange-color;
  z-index: 100;
  border-bottom: solid 1px $border-color;
  > img {
    width: 150px;
    margin-left: 1.5rem;
  }
}

.bamboo-header-pannel {
  float: right;
  margin-right: 1.8rem;
  position: relative;
  > span {
    font-size: 1.05rem;
    color: $white;
    font-weight: bold;
    &:hover {
      cursor: pointer;
    }
    > img {
      width: 2.5rem;
      height: 2.5rem;
      border-radius: 50%;
      margin-left: .5rem;
    }
  }
  > div {
    position: absolute;
    top: 4rem;
    width: 30rem;
    height: 18rem;
    right: 0px;
    background-color: $white;
    border: solid 1px $border-color;
    box-shadow: 0 1px 10px rgba(100, 100, 100, 0.1);
    overflow: hidden;
    display: none;
    @include style-transition;
  }
}

.bamboo-quit {
  font-size: 1rem;
  position: absolute;
  bottom: 0px;
  width: 100%;
  text-align: center;
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  border-top: solid 1px $border-color;
  line-height: 3.5rem;
  > a {
    color: $gray-one;
    display: block;
    > img {
      width: 1.6rem;
      height: 1.6rem;
      margin-right: .35rem;
      align-self: center;
      margin-top: -.2rem;
    }
  }
}

.bamboo-header-links {
  display: flex;
  display: -webkit-flex;
  justify-content: flex-start;
  margin: .55rem 1.5rem;
  flex-wrap: wrap;
  > a {
    font-size: 1.35rem;
    text-align: center;
    line-height: 1.5;
    color: $gray-color;
    margin-right: 1rem;
    margin-bottom: 1rem;
    width: 5.5rem;
    height: 4rem;
    i {
      margin-top: .65rem;
    }
    span {
      display: block;
      font-size: 1.1rem;
      color: $gray-one;
    }
    &:hover {
      color: $black-one;
      > span {
        color: $black-one;
      }
    }
  }
}

.bamboo-header-message {
  display: flex;
  border-bottom: solid 1px $border-color;
  text-align: left;
  font-size: 1rem;
  color: $gray-one;
  line-height: 3.5rem;
  padding: 0 1.5rem;
  > i {
    align-self: center;
    margin-right: .5rem;
    color: $green;
  }
}

.bamboo-hide {
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  z-index: 1000;
  &+div {
    z-index: 1002;
    position: relative;
    width: 100%;
    height: 100%;
  }
}
